package br.com.petshow.controller;

import java.net.URL;
import java.util.ResourceBundle;

import br.com.petshow.app.Aplicacao;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;

public class AgendamentosController implements Initializable {

	@FXML
    private TextField tfCodigo;
	
	@FXML
    private TextField tfNome;
	
	@FXML
    private TextField tfFiltro;
	
	@FXML
    private Button btEdit;

    @FXML
    private TableView tvConsulta;

    @FXML
    private TableColumn clNome;

    @FXML
    private TableColumn clCodigo;

    @FXML
    private Button btSave;

    @FXML
    private Button btClear;

    @FXML
    private Button btDelete;

    @FXML
    private Button btExit;

    @FXML
    void btSaveAction(ActionEvent event) {

    }

    @FXML
    void btClearAction(ActionEvent event) {

    }

    @FXML
    void btExitAction(ActionEvent event) {
    	Aplicacao.loadUrl(Aplicacao.URL_MENU);
    }

    @FXML
    void btEditAction(ActionEvent event) {
    	
    }

    @FXML
    void btDeleteAction(ActionEvent event) {

    }
    
    @FXML
    void tfFiltroAction(ActionEvent event) {

    }
	
	@Override
	public void initialize(URL arg0, ResourceBundle arg1) {
		// TODO Auto-generated method stub

	}

}
